package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type AlibabaSscSupplyplatformServiceworkerAvailableworkerRequest struct {
	/*
	   查询可用工人model     */
	AvailableWorkerQueryForTopReqDto *domain.AlibabaSscSupplyplatformServiceworkerAvailableworkerAvailableWorkerQueryForTopReqDTO `json:"available_worker_query_for_top_req_dto" required:"true" `
}

func (s *AlibabaSscSupplyplatformServiceworkerAvailableworkerRequest) SetAvailableWorkerQueryForTopReqDto(v domain.AlibabaSscSupplyplatformServiceworkerAvailableworkerAvailableWorkerQueryForTopReqDTO) *AlibabaSscSupplyplatformServiceworkerAvailableworkerRequest {
	s.AvailableWorkerQueryForTopReqDto = &v
	return s
}

func (req *AlibabaSscSupplyplatformServiceworkerAvailableworkerRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.AvailableWorkerQueryForTopReqDto != nil {
		paramMap["available_worker_query_for_top_req_dto"] = util.ConvertStruct(*req.AvailableWorkerQueryForTopReqDto)
	}
	return paramMap
}

func (req *AlibabaSscSupplyplatformServiceworkerAvailableworkerRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
